﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace SmartCity.ProcessEngine.Domain.Entities
{
    /// <summary>
    /// 流程实例的状态
    /// </summary>
    public enum InstanceStatus {

        [Description("申请")]
        申请=0,
        [Description("处理中")]
        处理中,
        [Description("完成")]
        完成
    }
    /// <summary>
    /// 审批状态
    /// </summary>
    public enum ApproveStatus
    {
        [Description("已提交")]
        已提交 =0,
        [Description("通过")]
        通过,
        [Description("不通过")]
        不通过
    }


    /// <summary>
    /// 字段类型枚举
    /// </summary>
    public enum FieldTypeEnum
    {
        [Description("字符串")]
        字符串 =1,
        [Description("整形")]
        整形 =2,
        [Description("布尔")]
        布尔 =3,
        [Description("日期")]
        日期 =4,
        [Description("时间")]
        时间 =5,
        [Description("小数")]
        小数 =6
    }
    /// <summary>
    /// 组件枚举
    /// </summary>
    public enum ComponentEnum
    {
        [SoapAttribute]
        [Description("单行文本框")]
        SingleTextBox = 1,
        [Description("日期框")]
        DateBox,
        [Description("密码框")]
        PasswordBox,
        [Description("下拉框")]
        SelectBox,
        [Description("单选按钮")]
        RadioGroup,
        [Description("单个复选框")]
        Checkbox,
        [Description("多个复选框")]
        CheckboxGroup,
        [Description("多行文本框")]
        MultiTextBox
    }
}
